How It Works
This simulation features five different branching coral styles grown recursively. The five styles are:
- RANDOM_SPREAD: Branches diverge with random angles and a slight upward bias.
- SPIRAL: Branches rotate in a spiral pattern.
- SINE_BENT: Branches bend based on sine functions.
- DOUBLE_HELIX: Branch pairs twist around each other.
- WIND_SWAY: Branches sway gently side-to-side.
In this revision, branch lengths are reduced and branch thickness is increased so that the coral appears more robust and compact. Fifteen coral clusters are randomly placed on a procedural ocean floor.
About This Simulation
Inspired by the diversity of natural coral forms, this project explores how modifying growth equations, color formulas, and geometric parameters can produce a rich variety of procedural branching structures. Adjustments to branch length, thickness, and curvature yield corals that look bushier and more realistic.